<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>thead</title>
		<style type="text/css">
			thead {
				color: green
			}
			
			tbody {
				color: blue;
				height: 50px
			}
			
			tfoot {
				color: red
			}
		</style>
	</head>

	<body>
		<table border="1">
			<thead>
				<tr>
					<th>Month</th>
					<th>Savings</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>January</td>
					<td>$100</td>
				</tr>
				<tr>
					<td>February</td>
					<td>$80</td>
				</tr>
			</tbody>
			<tfoot>
				<tr>
					<td>Sum</td>
					<td>$180</td>
				</tr>
			</tfoot>
		</table>
	</body>

</html>